package com.allwees.bs.module.sys.rest;

import com.allwees.bs.module.core.annotation.PrintLog;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.allwees.bs.core.modelbase.vo.R;
import com.allwees.bs.module.core.rest.BoCrudApi;
import com.allwees.bs.module.sys.entity.SysParam;
import com.allwees.bs.module.sys.req.query.SysParamQueryReq;
import com.allwees.bs.module.sys.service.SysParamService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 系统参数REST
 *
 * @author yangylsky
 *
 */
@PrintLog
@RestController
@RequestMapping("api/sys-param")
public class SysParamApi extends BoCrudApi<SysParam, SysParamService> {
	@GetMapping("page")
    @ResponseBody
	public R page(Page<SysParam> page, SysParamQueryReq req) {
		return super.page(page, req);
	}
}
